<script>
	$(document).ready(function(){
		$("#information_edit_form").validate({
			rules: {
				"information[information_alias]": {
					required: true
				}
			} 
		});	
	});
</script>
<div id="editPizzaForm">
	<form class="form-horizontal" id="information_edit_form" action="<?php echo url_for('@information_edit') ?>" method="post" enctype="multipart/form-data">
		<div><input type="hidden" name="information[information_id]" id="information_id" value="<?php echo (isset($information_id)) ? $information_id : ''?>" ></div>
        <div class="form-row row-fluid">
		 <div class="span8">
		     <div class="row-fluid">
		         <?php echo $information_form['alias']->renderLabel(null, array("class"=>"form-label span3"));  ?>
		         <div class="span8 controls">
		         	<?php echo $information_form['alias']->render(array("id" => "infor_alias"));  ?>
		         </div>
		     </div>
		 </div>
		</div>
		<div class="form-row row-fluid">
		 <div class="span8">
		     <div class="row-fluid">
		         <?php echo $information_form['content']->renderLabel(null, array("class"=>"form-label span3"));  ?>
		         <div class="span8 controls">
		         	<?php echo $information_form['content']->render(array("id" => "infor_content"));  ?>
		         </div>
		     </div>
		 </div>
		</div>
	     <div class="form-row row-fluid">
	         <div class="span8">
	             <div class="row-fluid">
	                 <?php echo $information_form['is_active']->renderLabel(null, array("class"=>"form-label span3"));  ?>
	                 <div class="span8 controls">
	                 	<?php echo $information_form['is_active']->render(array("class" => "ibutton"));  ?>
	                 </div>
	             </div>
	         </div>
	     </div>
	     <div class="form-row row-fluid">                              
	         <div class="span12">
	             <div class="row-fluid">
	                 <div class="form-actions">
	                 	<div class="span3"></div>
	                 	<div class="span9 controls">
							<button type="submit" class="btn marginR10" name="create" value="Create" >Lưu</button>
	                     	<button class="btn btn-danger">Làm lại</button>
	                 	</div>
	                 </div>
	             </div>
	         </div>
	     </div>
	</form>
</div>